<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function Game(){
            this.username="JS",
            this.useremail="demo06",
            this.teacher="Mrwang"
            console.log("打印")
        }
        let obj1=new Game()
        console.log(obj1)
        function Class(x, y, z) {
             this.username=x,
            this.useremail=y,
            this.teacher=z,
            this.vv=name=>console.log(name)
        }
        let knm=new Class("joker","333232x","Misswrite")
      console.log(knm)
      knm.vv("hh")

      class Student{
        constructor(name,age){
            this.name=name
            this.age=age
           
            console.log("hi")
        }
        say(){
            console.log("你好")
        }
      }

      
      let hello=new Student("zhangsan",20)
       console.log(hello)
       hello.__proto__.height=180
        console.log(hello.height)
  console.log(hello.say())
       let obj={
            username:"wu",
            useremail:"709000@qq.com"
        }
         obj.password=136330112
            console.log(obj)
      let obje={
            username:"wu",
            useremail:"709000@qq.com",
            password:136330112
        }
        let a=Object.keys(obje)
        console.log(a)
        console.log(Object.values(obje))
        console.log(Object.entries(obje)）
    </script>
</body>
</html>